<?php foreach($comments as $comment): ?>
<div class="comments">
      <div class="author">
    <?php echo $comment->createUser->username; ?>:
  </div>
  <div class="time">
    on <?php echo date('F j, Y \a\t h:i a',strtotime($comment->create_time)); ?>
  </div>
  <div class="content_comment">
    <?php echo ($comment->content); ?>
  </div>
     <hr>
</div><!-- comment -->
<?php endforeach; ?>